/**
 * @desc 账号管理
 * @param
 * @author huangjie
 * @date 2023/04/27 16:40:30
 */

import request from '@/assets/common/js/utils/request';
/*------------------------获取机型---------------------------------*/
//获取考勤列表
export function attendancerecordGetlist(data) {
    return request({
        url: 'attendancerecord/getlist',
        method: 'post',
        data: data,
    });
}
/**
 * @description 导出人员信息到Excel
 * @param not
 * @return not
 * @author qiankui 2023-4-24 09:39:40
 **/
export function attendancerecordExportattendancerecordtoexcel(data) {
    return request({
        url: 'attendancerecord/exportattendancerecordtoexcel',
        method: 'post',
        data: data,
        responseType: "arraybuffer"
    });
}
/**
 * @description 导出下发记录到Excel
 * @param not
 * @return not
 * @author qiankui 2023-4-24 09:39:40
 **/
export function exportSendrecorExcel(data) {
    return request({
        url: 'sendrecord/exportsendrecordtoexcel',
        method: 'post',
        data: data,
        responseType: "arraybuffer"
    });
}
/**
 * @description 导出通行记录到Excel
 * @param not
 * @return not
 * @author qiankui 2023-4-24 09:39:40
 **/
export function exportPassRecordExcel(data) {
    return request({
        url: 'passrecord/exporttoexcel',
        method: 'post',
        data: data,
        responseType: "arraybuffer"
    });
}
/**
 * @description 获取通行记录数据看板
 * @param not
 * @return not
 * @author yanxiang 2023-9-26 17:39:40
 **/
export function passrecordGetlist(data) {
    return request({
        url: 'passrecord/getlist',
        method: 'post',
        data: data,
    });
}
/**
 * @description 修改组织
 * @param not
 * @return not
 * @author yanxiang 2023-9-26 17:39:40
 **/
export function batchupdatepersondepartment(data) {
    console.log(data)
    return request({
        url: 'personnelinfo/batchupdatepersondepartment',
        method: 'post',
        data: data,
    });
}
/**
 * @description 查询设备操作记录
 * @param not
 * @return not
 * @author huangjie 2024-6-19 13:42:40
 **/
export function queryOperationRecord(data) {
    return request({
        url: 'devicecommandsendrecord/pagesearchdevicecommandsendrecord',
        method: 'post',
        data: data,
    });
}